home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 1
/
Wayzata's Best of Shareware for PC-Windows - Release 1 - Wayzata Technology (1993).iso
/
mac
/
WINDOWS
/
FILEUTIL
/
TLCPAK10
/
SETUPPAK.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-10-30
|
2KB
|
59 lines
@echo off
if "%1"=="" goto useage
if "%2"=="" goto useage
if "%3"=="" goto useage
if exist %1\tlcpak1c.dll goto srcok
echo Can not find source files
goto done
:srcok
md %2
copy %1\tlcpak.exe %2
if exist %2\tlcpak.exe goto ok2
echo Can not write to %2
echo Create the destination directory and try again
goto done
:ok2
copy %1\tlcpak1c.dll %3
if exist %3\tlcpak1c.dll goto dllok
echo Can not copy to %3
goto done
:dllok
copy %1\tlcpres1.dll %3
copy %1\tlcpak.hlp %3
copy %1\pk386.pif %3
copy %1\pkall.pif %3
copy %1\read-pak.txt %2
copy %1\reg-pak.txt %2
if exist c:\windows\vbrun100.dll goto VBrunok
if exist %3\vbrun100.dll goto VBrunok
if exist c:\windows\system\vbrun100.dll goto VBrunok
echo Your system does not appear to have the Microsoft Basic Run
echo Time library, "VBRun100.DLL".
echo This program will not operate without VBRun100.DLL. It may
echo be optained from Microsoft Bulletin board, Compuserve, or
echo Software Engineering and Fabrication. After you receive this
echo file, copy it to you System directory (probably C:\windows\system).
goto done
:VBRunOk
echo TlcPak version 1.0 is now installed
echo Please remember to register this program if you are going to
echo continue to use it.
echo Execute file named TLCpak.exe
goto done
:useage
echo Type
echo SetUpPak.BAT FromPath ToPath SystemPath
echo
echo for example
echo SetUpPak.BAT a: d:\utility c:\windows\system
echo will cause the program to install from the A: disk
echo on to the D: drive using the UTILITY directory
echo the windows system path is C:\WINDOWS\SYSTEM
echo Note: no trailing slash after directory name.
:done
Pause Please press return to continue